package HTTPSendIntegrator;

public class ForwardConf extends HTTPMmsMessage{
	public String forwardConfMessage;
	
	public ForwardConf(){
		forwardConfMessage = "";
		this.forwardConfMessage = MMS_MESSAGE_TYPE_SEND_CONF;
	}
	 
	public String toString(){

		if(!isMessageTypeSet()) return "MessageType not defined";
		if(!isTransactionIDSet()) return "transactionID not defined";
		if(!isVersionSet()) return "Version not defined";
		if(!isResponseStatusSet()) return "ResponseStatus not defined";
		if(!isMessageIDSet()) return "MessageID not defined";

		forwardConfMessage += MMS_MESSAGE_TYPE + " " + this.getMessageType() + NL;
		forwardConfMessage += MMS_TRANSACTION_ID + " " + this.getTransactionID() + NL;
		forwardConfMessage += MMS_VERSION + " : " + this.getVersion() + NL;
		forwardConfMessage += MMS_RESPONSE_STATUS + " " + this.getResponseStatus() + NL;
		forwardConfMessage += MMS_MESSAGE_ID + " " + this.getMessageID() + NL;		
		forwardConfMessage += MMS_CONTENT_LOCATION_VALUE + " " + this.getContentLocationValue() + NL;
		forwardConfMessage += MMS_STORE_STATUS_VALUE + " " + this.getStoreStatusValue() + NL;
	
		return forwardConfMessage;
	}
}